home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-06-08 | 1.3 KB | 33 lines | [TEXT/GEOL] |
- Item 0905530 4-June-90 08:15PDT
-
- From: D4202 HLH Assoc, Seth Haberman,PRT
-
- To: CPLUS.APPLE$ C++ Interest List--Apple Employees
- CPLUS.DEV$ C++ Interest List--Developers
- MACDTS Macintosh Developer Tech Supt
-
- Sub: c++ & the heap
-
-
- To C++ developers,
-
-
- We have been using c++ on the 80x86 platform of machines (especially
- under windows) and will now be turning our project over to the mac for more
- development work. Does the MPW C++ compiler take care of memory references in
- or is everything locked down in a standard heap? That is - let's say I have a
- class test and then an array of "pointers" to instances of this class i.e. test
- *array[N]. Now when a method is called such as array[5]->do_something(), will
- the compiler generate code to ensure that array[5] becomes locked when any of
- its members (items, functions) come into scope?
- On the 80x86 side (especially under CommonView), everything! is locked down
- and the heap works just like a malloc heap (even in windows).
- Are there any standard tricks in the "mac" world for this or is there
- generally just a standard locked heap (or zone) within the global heap?
-
-
- - thanks,
- - scot shinderman
- - montage nyc
-
-